﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Survey.Entity
{
    public class Questionnaire
    {
        public int Id { get; set; }
        // 标题
        public string Title { get; set; }
        // 描述
        public string Describe { get; set; }
        // 问卷创建时间
        public byte[] CreatedAt { get; set; }
        // 是否开始征集
        public bool IsPublish { get; set; }
        // 问卷所属用户Id
        public int UserId { get; set; }
        public virtual User RefUser { get; set; }
        // 问题集合
        public virtual ICollection<Question> QuestionCollection { get; set; }
    }
}
